package com.telit.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Auther amy
 * @Describe minio所需要配置的参数
 */
@Component
@ConfigurationProperties(prefix = "forest.minio")
@Data
public class MinioProperties {

    /** minio地址 **/
    private String url;

    /** accessKey **/
    private String accessKey;

    /** secretKey **/
    private String secretKey;

    /** 连接过期时间 **/
    private String expireTime;

    /** 上传的分片大小 **/
    private String partSize;
}
